package com.magicalcoder.youyamvc.app.goodsspeccategory.dao;

import com.magicalcoder.youyamvc.app.model.defined.IntegerDate;
import com.magicalcoder.youyamvc.app.model.defined.IntegerObject;
import com.magicalcoder.youyamvc.app.model.GoodsSpecCategory;
import java.util.List;
import java.util.Map;

/**
* 代码为自动生成 Created by www.magicalcoder.com
* 如果你改变了此类 read 请将此行删除
* 欢迎加入官方QQ群:323237052
*/

public interface GoodsSpecCategoryDao{
    GoodsSpecCategory getGoodsSpecCategory(Map<String, Object> query);
    List<GoodsSpecCategory> getGoodsSpecCategoryList(Map<String, Object> query);
    Integer getGoodsSpecCategoryListCount(Map<String, Object> query);
    Long  insertGoodsSpecCategory(GoodsSpecCategory entity);
    Long  replaceGoodsSpecCategory(GoodsSpecCategory entity);
    void batchInsertGoodsSpecCategory(List<GoodsSpecCategory> list);
    void batchReplaceGoodsSpecCategory(List<GoodsSpecCategory> list);
    void batchUpdateGoodsSpecCategory(List<GoodsSpecCategory> list);
    void updateGoodsSpecCategory(GoodsSpecCategory entity);
    void updateGoodsSpecCategoryWithoutNull(GoodsSpecCategory entity);
    void updateGoodsSpecCategoryByWhereSql(Map<String,Object> entity);

    void truncateGoodsSpecCategory();
    void deleteGoodsSpecCategory(Map<String, Object> query);
    void deleteGoodsSpecCategoryList(Map<String, Object> query);
    void deleteGoodsSpecCategoryByWhereSql(Map<String, Object> query);
    void batchDeleteGoodsSpecCategory(List<Long> list);
    void batchDeleteGoodsSpecCategoryList(List<GoodsSpecCategory> entityList);
    List<IntegerDate> statisticsDateCountList(Map<String,Object> query);
    List<IntegerDate> statisticsDateIntervalList(Map<String,Object> query);
    List<IntegerObject> statisticsGroupList(Map<String,Object> query);
}
